package com.lulalei.dbviewer.commons.bean;

/**
 * 数据库表中一列对应的信息
 * @author lulalei
 */
public class RowBean {

    /**
     * 列名称
     */
    private String name;

    /**
     * 数据库中的名称
     */
    private String jdbcName;

    /**
     * 列类型
     */
    private String type;

    /**
     * 列注释
     */
    private String comment;

    /**
     * 是不是主键
     */
    private boolean primaryKey;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public boolean isPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getJdbcName() {
        return jdbcName;
    }

    public void setJdbcName(String jdbcName) {
        this.jdbcName = jdbcName;
    }
}
